import { combineReducers } from 'redux-immutable';
import { reducer as headerReducer } from '../common/header/store';
// 引入Home里的reducer
import { reducer as homeReducer } from '../pages/home/store'
// 引入Detail里的reducer
import { reducer as detailReducer } from '../pages/detail/store'
// 引入Login里的reducer
import { reducer as loginReducer } from '../pages/login/store'

const reducer = combineReducers({
    header: headerReducer,
    home: homeReducer,
    detail: detailReducer,
    login: loginReducer
 })

export default reducer 